Integrand size = 26, antiderivative size = 153 \[ \int \frac {1}{x^2 \sqrt {a+b x^2} \sqrt {c+d x^2}} \, dx=\frac {d x \sqrt {a+b x^2}}{a c \sqrt {c+d x^2}}-\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{a c x}-\frac {\sqrt {d} \sqrt {a+b x^2} E\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|1-\frac {b c}{a d}\right )}{a \sqrt {c} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}} \sqrt {c+d x^2}} \]
d*x*(b*x^2+a)^(1/2)/a/c/(d*x^2+c)^(1/2)-(1/(1+d*x^2/c))^(1/2)*(1+d*x^2/c)^ (1/2)*EllipticE(x*d^(1/2)/c^(1/2)/(1+d*x^2/c)^(1/2),(1-b*c/a/d)^(1/2))*d^( 1/2)*(b*x^2+a)^(1/2)/a/c^(1/2)/(c*(b*x^2+a)/a/(d*x^2+c))^(1/2)/(d*x^2+c)^( 1/2)-(b*x^2+a)^(1/2)*(d*x^2+c)^(1/2)/a/c/x
Result contains complex when optimal does not.
Time = 1.07 (sec) , antiderivative size = 146, normalized size of antiderivative = 0.95 \[ \int \frac {1}{x^2 \sqrt {a+b x^2} \sqrt {c+d x^2}} \, dx=\frac {-\frac {\left (a+b x^2\right ) \left (c+d x^2\right )}{c x}-i a \sqrt {\frac {b}{a}} \sqrt {1+\frac {b x^2}{a}} \sqrt {1+\frac {d x^2}{c}} \left (E\left (i \text {arcsinh}\left (\sqrt {\frac {b}{a}} x\right )|\frac {a d}{b c}\right )-\operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {\frac {b}{a}} x\right ),\frac {a d}{b c}\right )\right )}{a \sqrt {a+b x^2} \sqrt {c+d x^2}} \]
(-(((a + b*x^2)*(c + d*x^2))/(c*x)) - I*a*Sqrt[b/a]*Sqrt[1 + (b*x^2)/a]*Sq rt[1 + (d*x^2)/c]*(EllipticE[I*ArcSinh[Sqrt[b/a]*x], (a*d)/(b*c)] - Ellipt icF[I*ArcSinh[Sqrt[b/a]*x], (a*d)/(b*c)]))/(a*Sqrt[a + b*x^2]*Sqrt[c + d*x ^2])
Time = 0.27 (sec) , antiderivative size = 159, normalized size of antiderivative = 1.04, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {382, 27, 388, 313}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {1}{x^2 \sqrt {a+b x^2} \sqrt {c+d x^2}} \, dx\) |
\(\Big \downarrow \) 382 |
\(\displaystyle \frac {\int \frac {b d x^2}{\sqrt {b x^2+a} \sqrt {d x^2+c}}dx}{a c}-\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{a c x}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {b d \int \frac {x^2}{\sqrt {b x^2+a} \sqrt {d x^2+c}}dx}{a c}-\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{a c x}\) |
\(\Big \downarrow \) 388 |
\(\displaystyle \frac {b d \left (\frac {x \sqrt {a+b x^2}}{b \sqrt {c+d x^2}}-\frac {c \int \frac {\sqrt {b x^2+a}}{\left (d x^2+c\right )^{3/2}}dx}{b}\right )}{a c}-\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{a c x}\) |
\(\Big \downarrow \) 313 |
\(\displaystyle \frac {b d \left (\frac {x \sqrt {a+b x^2}}{b \sqrt {c+d x^2}}-\frac {\sqrt {c} \sqrt {a+b x^2} E\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|1-\frac {b c}{a d}\right )}{b \sqrt {d} \sqrt {c+d x^2} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}\right )}{a c}-\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{a c x}\) |
-((Sqrt[a + b*x^2]*Sqrt[c + d*x^2])/(a*c*x)) + (b*d*((x*Sqrt[a + b*x^2])/( b*Sqrt[c + d*x^2]) - (Sqrt[c]*Sqrt[a + b*x^2]*EllipticE[ArcTan[(Sqrt[d]*x) /Sqrt[c]], 1 - (b*c)/(a*d)])/(b*Sqrt[d]*Sqrt[(c*(a + b*x^2))/(a*(c + d*x^2 ))]*Sqrt[c + d*x^2])))/(a*c)
3.10.78.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[Sqrt[(a_) + (b_.)*(x_)^2]/((c_) + (d_.)*(x_)^2)^(3/2), x_Symbol] :> Sim p[(Sqrt[a + b*x^2]/(c*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*(c + d*x^2)))]))*EllipticE[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /; FreeQ [{a, b, c, d}, x] && PosQ[b/a] && PosQ[d/c]
Int[((e_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_) , x_Symbol] :> Simp[(e*x)^(m + 1)*(a + b*x^2)^(p + 1)*((c + d*x^2)^(q + 1)/ (a*c*e*(m + 1))), x] - Simp[1/(a*c*e^2*(m + 1)) Int[(e*x)^(m + 2)*(a + b* x^2)^p*(c + d*x^2)^q*Simp[(b*c + a*d)*(m + 3) + 2*(b*c*p + a*d*q) + b*d*(m + 2*p + 2*q + 5)*x^2, x], x], x] /; FreeQ[{a, b, c, d, e, p, q}, x] && NeQ[ b*c - a*d, 0] && LtQ[m, -1] && IntBinomialQ[a, b, c, d, e, m, 2, p, q, x]
Int[(x_)^2/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> Simp[x*(Sqrt[a + b*x^2]/(b*Sqrt[c + d*x^2])), x] - Simp[c/b Int[Sqrt[ a + b*x^2]/(c + d*x^2)^(3/2), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && PosQ[b/a] && PosQ[d/c] && !SimplerSqrtQ[b/a, d/c]
Time = 4.77 (sec) , antiderivative size = 189, normalized size of antiderivative = 1.24
method | result | size |
risch | \(-\frac {\sqrt {b \,x^{2}+a}\, \sqrt {d \,x^{2}+c}}{a c x}-\frac {b \sqrt {1+\frac {b \,x^{2}}{a}}\, \sqrt {1+\frac {d \,x^{2}}{c}}\, \left (F\left (x \sqrt {-\frac {b}{a}}, \sqrt {-1+\frac {a d +b c}{c b}}\right )-E\left (x \sqrt {-\frac {b}{a}}, \sqrt {-1+\frac {a d +b c}{c b}}\right )\right ) \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}}{a \sqrt {-\frac {b}{a}}\, \sqrt {b d \,x^{4}+a d \,x^{2}+c b \,x^{2}+a c}\, \sqrt {b \,x^{2}+a}\, \sqrt {d \,x^{2}+c}}\) | \(189\) |
elliptic | \(\frac {\sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \left (-\frac {\sqrt {b d \,x^{4}+a d \,x^{2}+c b \,x^{2}+a c}}{a c x}-\frac {b \sqrt {1+\frac {b \,x^{2}}{a}}\, \sqrt {1+\frac {d \,x^{2}}{c}}\, \left (F\left (x \sqrt {-\frac {b}{a}}, \sqrt {-1+\frac {a d +b c}{c b}}\right )-E\left (x \sqrt {-\frac {b}{a}}, \sqrt {-1+\frac {a d +b c}{c b}}\right )\right )}{a \sqrt {-\frac {b}{a}}\, \sqrt {b d \,x^{4}+a d \,x^{2}+c b \,x^{2}+a c}}\right )}{\sqrt {b \,x^{2}+a}\, \sqrt {d \,x^{2}+c}}\) | \(196\) |
default | \(\frac {\left (-\sqrt {-\frac {b}{a}}\, b d \,x^{4}-b c \sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {d \,x^{2}+c}{c}}\, x F\left (x \sqrt {-\frac {b}{a}}, \sqrt {\frac {a d}{b c}}\right )+b c \sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {d \,x^{2}+c}{c}}\, x E\left (x \sqrt {-\frac {b}{a}}, \sqrt {\frac {a d}{b c}}\right )-\sqrt {-\frac {b}{a}}\, a d \,x^{2}-\sqrt {-\frac {b}{a}}\, b c \,x^{2}-\sqrt {-\frac {b}{a}}\, a c \right ) \sqrt {d \,x^{2}+c}\, \sqrt {b \,x^{2}+a}}{\sqrt {-\frac {b}{a}}\, x c a \left (b d \,x^{4}+a d \,x^{2}+c b \,x^{2}+a c \right )}\) | \(224\) |
-(b*x^2+a)^(1/2)*(d*x^2+c)^(1/2)/a/c/x-b/a/(-b/a)^(1/2)*(1+b*x^2/a)^(1/2)* (1+d*x^2/c)^(1/2)/(b*d*x^4+a*d*x^2+b*c*x^2+a*c)^(1/2)*(EllipticF(x*(-b/a)^ (1/2),(-1+(a*d+b*c)/c/b)^(1/2))-EllipticE(x*(-b/a)^(1/2),(-1+(a*d+b*c)/c/b )^(1/2)))*((b*x^2+a)*(d*x^2+c))^(1/2)/(b*x^2+a)^(1/2)/(d*x^2+c)^(1/2)
Time = 0.09 (sec) , antiderivative size = 107, normalized size of antiderivative = 0.70 \[ \int \frac {1}{x^2 \sqrt {a+b x^2} \sqrt {c+d x^2}} \, dx=\frac {\sqrt {a c} b x \sqrt {-\frac {b}{a}} E(\arcsin \left (x \sqrt {-\frac {b}{a}}\right )\,|\,\frac {a d}{b c}) - \sqrt {a c} b x \sqrt {-\frac {b}{a}} F(\arcsin \left (x \sqrt {-\frac {b}{a}}\right )\,|\,\frac {a d}{b c}) - \sqrt {b x^{2} + a} \sqrt {d x^{2} + c} a}{a^{2} c x} \]
(sqrt(a*c)*b*x*sqrt(-b/a)*elliptic_e(arcsin(x*sqrt(-b/a)), a*d/(b*c)) - sq rt(a*c)*b*x*sqrt(-b/a)*elliptic_f(arcsin(x*sqrt(-b/a)), a*d/(b*c)) - sqrt( b*x^2 + a)*sqrt(d*x^2 + c)*a)/(a^2*c*x)
\[ \int \frac {1}{x^2 \sqrt {a+b x^2} \sqrt {c+d x^2}} \, dx=\int \frac {1}{x^{2} \sqrt {a + b x^{2}} \sqrt {c + d x^{2}}}\, dx \]
\[ \int \frac {1}{x^2 \sqrt {a+b x^2} \sqrt {c+d x^2}} \, dx=\int { \frac {1}{\sqrt {b x^{2} + a} \sqrt {d x^{2} + c} x^{2}} \,d x } \]
\[ \int \frac {1}{x^2 \sqrt {a+b x^2} \sqrt {c+d x^2}} \, dx=\int { \frac {1}{\sqrt {b x^{2} + a} \sqrt {d x^{2} + c} x^{2}} \,d x } \]
Timed out. \[ \int \frac {1}{x^2 \sqrt {a+b x^2} \sqrt {c+d x^2}} \, dx=\int \frac {1}{x^2\,\sqrt {b\,x^2+a}\,\sqrt {d\,x^2+c}} \,d x \]